package com.suray.wcs.service.system.bo;

import com.suray.wcs.service.system.entity.AssignConfigDB;
import lombok.Data;

/**
 * @author 12419
 * @title: AssignConfigBO
 * @projectName web_dev
 * @description: TODO
 * @date 2021/1/3018:13
 */
@Data
public class AssignConfigBO {

    private Integer id;
    /**
     * 层
     */
    private Integer floor;
    /**
     * 限制小车数量
     */
    private Integer rgvLimit;
    /**
     * 平均任务数量
     */
    private Integer average;

    /**
     * 区域id
     */
    private Integer zoneId;

    /**
     * 区域名称
     */
    private String zoneName;

    /**
     * 调车模式,0跨层调车；1跨区调车
     */
    private Integer moveRgvType;

    public AssignConfigBO() {
    }

    public AssignConfigBO(AssignConfigDB assignConfigDB) {
        this.id = assignConfigDB.getId();
        this.floor = assignConfigDB.getFloor();
        this.rgvLimit = assignConfigDB.getRgvLimit();
        this.average = assignConfigDB.getAverage();
        this.zoneId = assignConfigDB.getZoneId();
        this.moveRgvType = assignConfigDB.getMoveRgvType();
    }
}
